package com.lx.shopping.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lx.bilibili.entity.ProductDetailImage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface ProductDetailImageMapper extends BaseMapper<ProductDetailImage> {
    @Select("select * from productdetail_image where pid = #{pid}")
    List<ProductDetailImage> selectByProductId(int pid);
}
